package org.shop.service;

import java.util.List;
import java.util.Map;

import org.shop.entity.ActivityAnswer;
import org.shop.service.base.BaseService;

public interface ActivityAnswerService extends BaseService<ActivityAnswer, Long>{
	
	/**
	 * app根据活动Id获取活动热门留言列表
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getHotActivityAnswerList(Map<String, Object> params);
	
	/**
	 * app 根据活动id获取热门回复留言列表
	 * @param paramMap
	 * @return
	 */
	public List<Map<String,Object>> getReplyActivityAnswerList(Map<String,Object> paramMap);
	
	/**
	 * app根据活动Id获取活动留言列表
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getActivityAnswerList(Map<String, Object> params);
	
	/**
	 * app根据ActivityId获取评论量
	 * @param params
	 * @return
	 */
	public int getActivityAnswerCount(Map<String, Object> params);
}